//ArrayClone.java
package com.xyc.ch7;
import java.util.*;

public class ArrayClone
{

	public static void main(String[] args)
	{
		int[] a1=new int[10];
		Arrays.fill(a1,1);
		int[] a2=(int[])a1.clone();
		System.out.println("a1="+Arrays.toString(a1));
		System.out.println("a2="+Arrays.toString(a2));
   }
}




